XdsObjects Help file
XdsObjects Namespace / PixQuery Class / GetID Method / GetID(XdsDomain,IEnumerable<String>,XdsPatient) Method
The XdsDomain object holding configuration information
The Root ID being requested
The patient's current details, including their full ID in a domain



In This Topic
    GetID(XdsDomain,IEnumerable<String>,XdsPatient) Method
    In This Topic
    Get the ID for a patient in a different domain by doing a PIX query if necessary
    Syntax
    Public Overloads Shared Function GetID( _
       ByVal Domain As XdsDomain, _
       ByVal WantedRoot As IEnumerable(Of String), _
       ByVal CurrentInfo As XdsPatient _
    ) As List(Of XdsPatient)
    Dim Domain As XdsDomain
    Dim WantedRoot As IEnumerable(Of String)
    Dim CurrentInfo As XdsPatient
    Dim value As List(Of XdsPatient)
     
    value = PixQuery.GetID(Domain, WantedRoot, CurrentInfo)

    Parameters

    Domain
    The XdsDomain object holding configuration information
    WantedRoot
    The Root ID being requested
    CurrentInfo
    The patient's current details, including their full ID in a domain

    Return Value

    The new ID (in full form)
    Remarks

    If the current root is the same as the Wanted root, the method returns immediately returning the current ID, withoug doing an external PIX query

    If the current and wanted roots are not the same, then the cache is checked to see if the required data is already available, and if so, then the result is returned immediately from the cache

    If neither of the above applies, then a PIX query is performed, the result of which is cached and returned

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also